<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<h1>
	<a href='<c:url value="/index.jsp"></c:url>'>蓝点论坛</a>
</h1>
<span class="h1span"> 
	<c:if test="${empty sessionScope.session_user}" var="userIf">
		<span> &nbsp;&nbsp;&nbsp;&nbsp;
		<a href="jsps/user/stu_regist.jsp">我要报名</a> &nbsp;&nbsp;&nbsp;
		<a href="jsps/user/log.jsp">登录</a> &nbsp;&nbsp;&nbsp;
		<a href="jsps/user/reg.jsp">注册</a> </span>
	</c:if> 
	<c:if test="${!userIf}">
		<span> &nbsp;&nbsp;&nbsp;&nbsp;
			欢迎登录：${sessionScope.session_user.username} &nbsp;&nbsp;&nbsp; 
			积分：${sessionScope.session_user.integral} &nbsp;&nbsp;&nbsp; 
			<a href='<c:url value="/DataServlet?method=findAll"></c:url>'>下载资料</a>&nbsp;&nbsp;
			<a href='<c:url value="/jsps/publish/publish.jsp"></c:url>'>发表文章</a>&nbsp;&nbsp;
		    <a href="<c:url value='/UserServlet?method=quit'></c:url>">退出</a> </span>
	</c:if> </span>
